package cn.itcast.bos.dao;

import cn.itcast.bos.domain.base.Area;
import org.springframework.data.annotation.Persistent;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import javax.persistence.PrePersist;

@Persistent
public interface AreaDao extends JpaRepository<Area,String> ,JpaSpecificationExecutor<Area>{
   public Area findByProvinceAndCityAndDistrict(String province, String city, String district);
}
